const tokenKey = "token";
let backendBaseUrl = "";
let socketUrl = "";
let picBaseUrl = "";
switch (process.env.NODE_ENV) {
  case "development":
    backendBaseUrl = "http://127.0.0.1:3020";
    socketUrl = "ws://127.0.0.1:3020";
    break;
  case "production":
    backendBaseUrl = "http://47.103.29.206:3020";
    socketUrl = "ws://47.103.29.206:3020";
    picBaseUrl = "http://47.103.29.206:3021";
}

export { tokenKey, backendBaseUrl, socketUrl, picBaseUrl };
